package com.our.base.easylog.es.document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
//@Document(indexName = "log", shards = 1, replicas = 0)
public class LogDocument {
//    @Id
//    private Integer id;

    //    @Field(type = FieldType.Text , analyzer = "ik_max_word")
//    @Field(type = FieldType.Text)
    private String log;

//    @Field(type = FieldType.Date)
    private Date logTime;
//
//    @Field(type = FieldType.Keyword)
//    private String category;
//
//    @Field(type = FieldType.Keyword)
//    private String images;
//
//    @Field(type = FieldType.Integer)
//    private Integer price;
}

